<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./css/reset.css">
  <style>
    .item{
      display: inline-block;
      width: 234px;
      height: 300px;
      background-color: white;
      
      box-sizing: border-box;
      padding: 15px 10px;
      text-align: center;
      margin: 20px;
    }

    .item:hover{
      box-shadow: 0 5px 20px 5px rgba(0, 0, 0, 0.2);
    }

    .item img{
      height: 160px;
      width: 160px;

      margin-top: 10px;
    }
  

    .item .title {
      font-size: 14px;
    }

    .item .desc{
      color: #999;
      margin-top: 10px;

      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .item .price{
      margin-top: 10px;
    }

    .item .new{
      color: orange;
    }

    .item .old{
      color: #999;
      text-decoration: line-through;
    }

  </style>
</head>
<body>
  <a class="item" href="#">
    <img src="../images/xiaomi.png" alt="">
    <h3 class="title">Xiaomi Buds 5</h3>
    <p class="desc">舒适无感佩戴｜高通全链路无损音频｜哈曼 AudioEFX 联合调音</p>
    <div class="price">
      <span class="new">659元</span>
      <span class="old">699元</span>
    </div>
  </a>
</body>
</html>